<?php
/* @var $this AfdelingController */
/* @var $model Afdeling */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'afdeling-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'naam'); ?>
		<?php echo $form->textField($model,'naam',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'naam'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'website'); ?>
		<?php echo $form->textField($model,'website',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'website'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'straat'); ?>
		<?php echo $form->textField($model,'straat',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'straat'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'straat_nr'); ?>
		<?php echo $form->textField($model,'straat_nr',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'straat_nr'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'postcode'); ?>
		<?php echo $form->textField($model,'postcode',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'postcode'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gemeente'); ?>
		<?php echo $form->textField($model,'gemeente',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'gemeente'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'telefoon'); ?>
		<?php echo $form->textField($model,'telefoon',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'telefoon'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->